package com.annotation.config;

import com.annotation.service.MyLogService;
import com.annotation.service.MyLogServiceImpl;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * AutoConfiguration.imports文件
 * 路径：META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
 */
@AutoConfiguration
public class AnnotationAutoConfig {

    @Bean
    public MyLogService myLogService() {
        return new MyLogServiceImpl();
    }

}
